import  React  from  'react';
import{
    HashRouter,
    Switch,
    Route,
}
from  'react-router-dom';
import  StoreList from  "./page/StoreList"; 
import  Cart from  "./page/Cart";
class  Router  extends  React.Component{
    render(){
        return(
            <HashRouter>
                <Switch>
                <Route  path="/cart" component={Cart}/>
                <Route  path="/" component={StoreList}/>
                </Switch>
            </HashRouter>
        )
    }
}
export  default  Router;